#ifndef _MODBUS_DATA_H_
#define _MODBUS_DATA_H_
#include "stdint.h"
#include "stdbool.h"

uint8_t Modbus_Read_HoldReg(uint8_t Port, uint32_t Addr, uint16_t *Dat);
uint8_t Modbus_Write_HoldReg(uint8_t Port,uint32_t RegAddr,uint32_t RegNum,uint32_t DatLen,uint8_t *Dat);
uint8_t Modbus_Write_x16HoldReg(uint8_t Port , uint32_t RegAddr ,  uint16_t Dat);
#endif
